chunking strategy

All posts tagged chunking strategy by Linux Bash
  • Posted on
    Featured Image
    A practical, Linux-first guide to stopping LLM hallucinations with Retrieval-Augmented Generation: prepare and chunk docs, embed with sentence-transformers into Chroma, retrieve wide then rerank with a cross-encoder, prompt defensively with citations and token budgets, and evaluate with ragas. Includes apt/dnf/zypper setup, end-to-end scripts, local LLM options, and tips for reproducibility, privacy, and automation.
  • Posted on
    Featured Image
    CLI-first guide to optimizing RAG for accuracy, latency, and cost: choose and tune the right index (FAISS/Chroma/Qdrant/Milvus; IVF/HNSW), chunk smarter (256–512 tokens, light overlap), speed embeddings with batching/threads/GPU/caching, improve recall with hybrid BM25+dense and light reranking, and measure recall@k, p95 latency, and cost via FastAPI+ab and ragas—complete with multi-distro installs and reproducible scripts.